projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd99ae3
)
search entry: Use a GtkEntryAccessible
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 22 Feb 2019 20:50:45 +0000
(15:50 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 22 Feb 2019 20:50:45 +0000
(15:50 -0500)
This preserves the status quo of a11y support
for entry variations.
gtk/gtksearchentry.c
patch
|
blob
|
history
diff --git
a/gtk/gtksearchentry.c
b/gtk/gtksearchentry.c
index 534718f30933202afd195ca28b8db363cd98f7bb..188ede1d9fdf08be161e4635c3371cf1f8cd9fe3 100644
(file)
--- a/
gtk/gtksearchentry.c
+++ b/
gtk/gtksearchentry.c
@@
-41,6
+41,8
@@
#include "gtkmarshalers.h"
#include "gtkstylecontext.h"
#include "gtkeventcontrollerkey.h"
+#include "a11y/gtkentryaccessible.h"
+
/**
* SECTION:gtksearchentry
@@
-390,6
+392,7
@@
gtk_search_entry_class_init (GtkSearchEntryClass *klass)
gtk_binding_entry_add_signal (binding_set, GDK_KEY_Escape, 0,
"stop-search", 0);
+ gtk_widget_class_set_accessible_type (widget_class, GTK_TYPE_ENTRY_ACCESSIBLE);
gtk_widget_class_set_css_name (widget_class, I_("entry"));
}